package itu.dk.bosk.ex6_2;

public class TextCell extends Cell{

    private String text;

    public TextCell(String s)
    {
        text = s;
    }

    public String getText()
    {
        return text;
    }

    public void setText(String s)
    {
        text = s;
    }

    @Override
    public double getNumberValue() {
        //throw new OperationNotSupportedException();
        return 0;
    }

    public String toString() {
        return text;
    }

}
